package compiler;

public enum Symbol {

	EOF("eof"),
	NUMBER("a number"),
	IDENT("an identifier"),
	STRINGVALUE("a string"),
	INT("int"),
	STR("str"),
	ASSIGN("="),
	PLUS("+"),
	MINUS("-"),
	MULT("*"),
	DIV("/"),
	EQ("=="),
	LT("<"),
	GT(">"),
	GE(">="),
	LE("<="),
	NE("!="),
	LEFTPAR("("),
	RIGHTPAR(")"),
	SEMICOLON(";"),
	COMMA(","),
	DOT("."),
	PRINT("print"),
	READ("read"),
	IF("if"),
	ELSE("else"),
	WHILE("while"),
	FUNC("func"),
	COLON(":"),
	ARROW("->"),
	RETURN("return"),
	AND("and"),
	OR("or");

	private String name;

	Symbol(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return name;
	}

}
